home *** CD-ROM | disk | FTP | other *** search
- %%?BeginFeatureQuery: *ColorDevice
- /languagelevel where
- {
- pop languagelevel 2 ge
- }{
- false
- }ifelse
- {
- statusdict begin
- /processcolors where
- end
- {
- /processcolors get true
- }{
- false
- }ifelse
- {
- exec 1 eq
- {
- /OutputDevice/Category resourcestatus
- {
- pop pop
- /odevs 0 def
- /found false def
- (*)
- {
- /OutputDevice findresource
- /ProcessColorModel 2 copy known
- {
- /odevs odevs 1 add def
- get
- {
- /DeviceGray ne{(True)/found true def exit}if
- }forall
- found{exit}if
- }{
- pop pop
- }ifelse
- }bind
- 100 string/OutputDevice
- resourceforall
- odevs 0 eq{(Unknown)}{found not{(False)}if}ifelse
- }{
- (Unknown)
- }ifelse
- }{
- (True)
- }ifelse
- }{
- (False)
- }ifelse
- }{
- systemdict/colorimage known
- {
- statusdict begin
- /processcolors where
- {
- pop processcolors 1 eq
- {
- (Unknown)
- }{
- (True)
- }ifelse
- }{
- (False)
- }ifelse
- end
- }{
- (False)
- }ifelse
- }ifelse
- print(\n)print
- %%?EndFeatureQuery: Unknown
-